import request from '@/utils/request.js'
export const login = (data) => {
  return request({
    method: 'post',
    url: '/auth/login',
    data
  })
}
export const getuser = () => {
  return request.get('/auth/currentuser')
}
